package cn.school.classManage.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_school_dormitory")
public class SchoolDormitoryVO extends BaseVO {
    private static final long serialVersionUID = 5282502563768364487L;

    @ApiModelProperty(value = "楼栋编号")
    private String buildingNo;

    @ApiModelProperty(value = "楼层编号")
    private String storey;

    @ApiModelProperty(value = "宿舍号")
    private String dormitoryNo;

    @ApiModelProperty(value = "宿舍类型 1-上下铺  2-上铺下桌")
    private String dormitoryType;

    @ApiModelProperty(value = "宿管床位 1-上铺 2-下铺")
    private String dormitoryBed;

    @ApiModelProperty(value = "启用状态：0->禁用；1->启用")
    private String status;

    @ApiModelProperty(value = "准住人数(1->6人寝；2->8人寝；3->12人寝)")
    private String stuCount;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();

}
